﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 供应商银行账号数据传输对象 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfSupplierBankAccountDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfSupplierBankAccountDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
					SysVersion= 0; 
				
		
		
					IsDefault=false; 
					IsMultiCurrency=false; 
		
					IsPrivate=false; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        			if (this.Bank != null) 
			{
				this.Bank.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfSupplierBankAccountDTOData(  System.Int64 iD  , System.DateTime createdOn  , System.String createdBy  , System.DateTime modifiedOn  , System.String modifiedBy  , System.Int64 sysVersion  , System.String code  , System.String name  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData bank  , System.Boolean isDefault  , System.Boolean isMultiCurrency  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Boolean isPrivate  )
		{
			initData();
			this.ID = iD;
			this.CreatedOn = createdOn;
			this.CreatedBy = createdBy;
			this.ModifiedOn = modifiedOn;
			this.ModifiedBy = modifiedBy;
			this.SysVersion = sysVersion;
			this.Code = code;
			this.Name = name;
			this.Bank = bank;
			this.IsDefault = isDefault;
			this.IsMultiCurrency = isMultiCurrency;
			this.DescFlexField = descFlexField;
			this.IsPrivate = isPrivate;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 供应商银行账号数据传输对象 Copy.Key.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建时间
		/// 供应商银行账号数据传输对象 Copy.Sys.创建时间
		/// </summary>
		private System.DateTime m_createdOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 供应商银行账号数据传输对象 Copy.Sys.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改时间
		/// 供应商银行账号数据传输对象 Copy.Sys.修改时间
		/// </summary>
		private System.DateTime m_modifiedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改人
		/// 供应商银行账号数据传输对象 Copy.Sys.修改人
		/// </summary>
		private System.String m_modifiedBy ;
		[DataMember(IsRequired=false)]
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 事务版本
		/// 供应商银行账号数据传输对象 Copy.Sys.事务版本
		/// </summary>
		private System.Int64 m_sysVersion ;
		[DataMember(IsRequired=false)]
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
			
		

		/// <summary>
		/// 账号
		/// 供应商银行账号数据传输对象 Copy.Misc.账号
		/// </summary>
		private System.String m_code ;
		[DataMember(IsRequired=false)]
		public System.String Code
		{
			get	
			{	
				return m_code ;
			}
			set	
			{	
				m_code = value ;	
			}
		}
			 	
		

		/// <summary>
		/// 银行
		/// 供应商银行账号数据传输对象 Copy.Misc.银行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_bank ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Bank
		{
			get	
			{	
				return m_bank ;
			}
			set	
			{	
				m_bank = value ;	
			}
		}
			
		

		/// <summary>
		/// 默认账号
		/// 供应商银行账号数据传输对象 Copy.Misc.默认账号
		/// </summary>
		private System.Boolean m_isDefault ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsDefault
		{
			get	
			{	
				return m_isDefault ;
			}
			set	
			{	
				m_isDefault = value ;	
			}
		}
			
		

		/// <summary>
		/// 多币种
		/// 供应商银行账号数据传输对象 Copy.Misc.多币种
		/// </summary>
		private System.Boolean m_isMultiCurrency ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsMultiCurrency
		{
			get	
			{	
				return m_isMultiCurrency ;
			}
			set	
			{	
				m_isMultiCurrency = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 供应商银行账号数据传输对象 Copy.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 对私支付
		/// 供应商银行账号数据传输对象 Copy.Misc.对私支付
		/// </summary>
		private System.Boolean m_isPrivate ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsPrivate
		{
			get	
			{	
				return m_isPrivate ;
			}
			set	
			{	
				m_isPrivate = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																 
		/// <summary>
		/// 账号名称
		/// 供应商银行账号数据传输对象 Copy.Misc.账号名称
		/// </summary>
		[DataMember(IsRequired=false)]
		public string Name
		{
			get
			{
				if (m_Multi_name == null)
					return String.Empty ;
				else
					return m_Multi_name.DefaultLangValue ;
			}
			set
			{
				if (m_Multi_name == null)
					m_Multi_name = new  UFSoft.UBF.Util.Data.MultiLangDataDict() ;
				m_Multi_name.DefaultLangValue = value ;
			}
		}
		private UFSoft.UBF.Util.Data.MultiLangDataDict m_Multi_name ;
		/// <summary>
		/// 多语属性: 账号名称
		/// 供应商银行账号数据传输对象 Copy.Misc.账号名称
		/// </summary>
		[DataMember(IsRequired=false)]
		public UFSoft.UBF.Util.Data.MultiLangDataDict Multi_Name
		{
			get
			{
				return m_Multi_name;
			}
			set
			{
				m_Multi_name = value ;	
			}
		}
												
		#endregion 
	} 	
}
